﻿using System.ComponentModel.DataAnnotations;

namespace B.S.BaseData.Read.Api.Dtos
{
    public class GetRecodeDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int Recodeid { get; set; }
        /// <summary>
        /// 实例id
        /// </summary>
        public int Instaresid { get; set; }
        /// <summary>
        /// 节点编号
        /// </summary>
        public int NodeNo { get; set; }
        /// <summary>
        /// 节点名称
        /// </summary>
        public string NodeName { get; set; }
        /// <summary>
        /// 操作人编号
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 操作人名称
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 意见
        /// </summary>
        public string YiJian { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int LeaveId { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string LeaveName { get; set; }
        /// <summary>
        /// 部门编号
        /// </summary>
        public int DepartId { get; set; }
        /// <summary>
        /// 请假类别
        /// </summary>
        public int LeaveType { get; set; }
        /// <summary>
        /// 请假时间
        /// </summary>
        public DateTime LeaveCreateTime { get; set; }
        /// <summary>
        /// 报到时间
        /// </summary>
        public DateTime CoverageTime { get; set; }
        /// <summary>
        /// 总工时
        /// </summary>
        public int TotalHours { get; set; }
        /// <summary>
        /// 请假事由
        /// </summary>
        public string Cause { get; set; }
        /// <summary>
        /// 部门领导
        /// </summary>
        public int DepartmentHeads { get; set; }
        /// <summary>
        /// 审批状态
        /// </summary>
        public int Appstatus { get; set; }
        /// <summary>
        /// 状态名称
        /// </summary>
        public string StarterName { get; set; }
    }
}
